package com.Jhu1.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yin.entity.Material;
import com.yin.entity.PerOrder;
import com.yin.util.PageVo;

import java.util.List;

/**
 * @author 钟俊辉
 * @description 针对表【per_order】的数据库操作Service
 * @createDate 2025-01-16 20:18:25
 */
public interface PerOrderService extends IService<PerOrder> {
    List<PerOrder> getAll();
    
    void handle(Integer id, boolean state);
    
    void submit(List<Material> materials);
    
    List<PerOrder> myOrder();
    
    List<PerOrder> allByState(boolean state);
    
    PageVo<PerOrder> allByPage(Integer pageNum, Integer pageSize);
}
